package com.imay.live.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.imay.live.proto.user.UserInfoCard;
import com.imay.live.R;

import java.util.List;

/**
 * Created by jeaman on 2017/4/14.
 */

public class ChooseUserAdapter extends BaseQuickAdapter<UserInfoCard, BaseViewHolder> {
    public ChooseUserAdapter(List<UserInfoCard> data) {
        super(R.layout.item_choose_user, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, UserInfoCard item) {
        helper.setText(R.id.choose_user_tv_nick, item.nick);
    }
}
